<div class="modal-header">
    <h4 class="modal-title">订单详情</h4>
</div>
<div class="modal-body">

    <div class="container-fluid form-horizontal ">
        <div class="col-xs-6">
            <div class="form-group">
                <label class="col-xs-6 control-label">订单编号</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.code}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">订单标题</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.title}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">实际支付金额</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.pay_fee/100 | currency: '￥'}} 
                        <span ng-show="obj.business_order_actual_subsidy">(已优惠 {{obj.business_order_actual_subsidy / 100 | currency: '￥'}})</span>
                    </p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">支付状态</label>
                <div class="col-xs-6">
                    <p ng-show="obj.pay_state==0" class="form-control-static">未支付</p>
                    <p ng-show="obj.pay_state==1" class="form-control-static">支付完成(无需支付)</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">支付时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.pay_time}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">支付流水号</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.pay_trade_no}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">支付类型</label>
                <div class="col-xs-6">
                    <p ng-show="obj.payment_type==1" class="form-control-static">支付宝支付</p>
                    <p ng-show="obj.payment_type==2" class="form-control-static">微信支付</p>
                    <p ng-show="obj.payment_type==3" class="form-control-static">网银在线</p>
                    <p ng-show="obj.payment_type==4" class="form-control-static">平台预存</p>
                    <p ng-show="obj.payment_type==5" class="form-control-static">现金支付</p>
                    <p ng-show="obj.payment_type==6" class="form-control-static">供应商预存</p>
                    <p ng-show="obj.payment_type==8" class="form-control-static">同业支付</p>
                    <p ng-show="obj.payment_type==9" class="form-control-static">半价支付</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">系统确定状态</label>
                <div class="col-xs-6">
                    <p ng-show="obj.sys_affirm_state==0" class="form-control-static">等待系统处理</p>
                    <p ng-show="obj.sys_affirm_state==1" class="form-control-static">系统处理完成（或无需处理）
                    </p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">订单取消状态</label>
                <div class="col-xs-6">
                    <p ng-show="obj.cancel_state==0" class="form-control-static">未取消</p>
                    <p ng-show="obj.cancel_state==1" class="form-control-static">已取消</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">订单取消时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.cancel_time}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">订单取消原因</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.cancel_reason}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">票状态</label>
                <div class="col-xs-6">
                    <p ng-show="obj.ticket_state==0" class="form-control-static">未出票</p>
                    <p ng-show="obj.ticket_state==1" class="form-control-static">等待出票</p>
                    <p ng-show="obj.ticket_state==2" class="form-control-static">全部出票完成</p>
                    <p ng-show="obj.ticket_state==8" class="form-control-static">无需出票</p>
                    <p ng-show="obj.ticket_state==9" class="form-control-static">出票失败</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">出票时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.ticket_out_time}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">二维码地址</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.order_unique_code_url}}</p>
                </div>
            </div>

        </div>

        <div class="col-xs-6">

            <div class="form-group">
                <label class="col-xs-6 control-label">短信发送状态</label>
                <div class="col-xs-6">
                    <p ng-show="obj.sms_state==0" class="form-control-static">不发送</p>
                    <p ng-show="obj.sms_state==1" class="form-control-static">未发送</p>
                    <p ng-show="obj.sms_state==2" class="form-control-static">已发送</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">短信发送时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.sms_send_time}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">身份证</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.cardno}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">电话</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.mobile}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">姓名</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.name}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">备注</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.note}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">数量</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.num}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">退票数量</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.back}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">使用数量</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.used}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">创建时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.create_time}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">创建时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.create_time}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">创建者</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.create_by}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-6 control-label">出游时间</label>
                <div class="col-xs-6">
                    <p class="form-control-static">{{obj.tour_date}}</p>
                </div>
            </div>
        </div>

    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>